<?php
namespace User\Model;
use Think\Model;

class LiveModel extends Model
{
    CONST USER_VIEWER = 1;//观众
    CONST USER_ANCHOR = 2;//主播
    CONST USER_ASSIST = 3;//助理

    CONST ROOM_APPLY  = 0;//待审核房间
    CONST ROOM_ACTIVE = 1;//正常房间
    CONST ROOM_ONLINE = 2;//正在直播中
    CONST ROOM_DELETE = 9;//已删除房间

    CONST USER_SILENT = 0;//禁言状态
    CONST USER_ACTIVE = 1;//正常状态
    CONST USER_DELETE = 9;//已删除状态

    CONST CATEGORY_ACTIVE = 1;//正常分类
    CONST CATEGORY_INACTIVE = 2;//禁用的分类
    CONST CATEGORY_DELETE = 9;//已删除的分类

    CONST SUPPORT_ACTIVE = 1;//支持功能
    CONST SUPPORT_DELETE = 9;//不支持功能

    CONST HASROOM_YES = 1;//主播有房间
    CONST HASROOM_NO = 9;//没有房间

    CONST TOPIC_ACTIVE = 1;//正常话题
    CONST TOPIC_APPLY = 0;//停用话题
    CONST TOPIC_PAUSE = 2;//暂停话题
    CONST TOPIC_DELETE = 9;//已删除话题

    CONST TOPIC_TYPE_VIDEO = 1;//视频直播
    CONST TOPIC_TYPE_MSG = 2;//图文直播
    CONST TOPIC_TYPE_ALL = 3;//视频+图文直播

    CONST SORT_ASC = 1;//正序
    CONST SORT_DESC = 2;//倒序

    CONST COMMENT_APPLY = 0;//待审核评论
    CONST COMMENT_ACTIVE = 1;//正常评论
    CONST COMMENT_DRAFT = 2;//草稿评论
    CONST COMMENT_DELETE = 9;//已删除评论

    CONST MSG_TEXT = 1;//普通文字
    CONST MSG_PRAISE = 2;//点赞
    CONST MSG_IMG = 3;//图片
    CONST MSG_VOICE = 4;//语音
    CONST MSG_ASK = 8;//观众提问

    CONST MEMBER_SILENT = 0;//禁言状态
    CONST MEMBER_ACTIVE = 1;//正常状态
    CONST MEMBER_DELETE = 9;//已删除状态

    CONST HAS_COMMENT_YES = 1;//评论过
    CONST HAS_COMMENT_NO = 9;//未评论

    CONST ATTACH_ACTIVE = 1;//附件正常状态
    CONST ATTACH_DELETE = 9;//附件已删除状态

    CONST FOLLOW_ACTIVE = 1;//关注正常状态
    CONST FOLLOW_DELETE = 9;//关注已删除状态

    CONST STAT_ACTIVE = 1;//数据统计正常
    CONST STAT_DELETE = 9;//数据统计删掉

    CONST REPLAY_TRUE = 1;//视频回放有
    CONST REPLAY_FALSE = 9;//视频回放否

    CONST REPLY_TRUE = 1;//已上墙
    CONST REPLY_FALSE = 0;//还没有上墙
}
?>